package com.xiaoxing.zhinenghuacangku_nanjinglu.mvp.ui.adapter;

import android.content.Context;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.xiaoxing.zhinenghuacangku_nanjinglu.R;

import java.util.List;


public class DianBiaoSpinnerAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    private Context mContext;

    public DianBiaoSpinnerAdapter(Context context, @Nullable List<String> data) {
        super(R.layout.zhi_neng_cang_ku_nan_jing_lu_item_spinner, data);
        this.mContext = context;
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.tv_text1, item);
    }


}
